package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 库存锁定信息
 *
 * @author lhd
 * @date 2022-05-06 17:27:53
 */
@Data
@TableName("tz_sku_stock_lock")
@Schema(description ="库存锁定信息")
public class SkuStockLock implements Serializable{
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;
    @Schema(description = "创建时间")
    private Date createTime;
    @Schema(description = "更新时间")
    private Date updateTime;
    @Schema(description = "商品id")
    private Long prodId;
    @Schema(description = "sku id")
    private Long skuId;
    @Schema(description = "订单号")
    private String orderNumber;
    @Schema(description = "状态-1已解锁 0待确定 1已锁定")
    private Integer status;
    @Schema(description = "锁定库存数量")
    private Integer count;
}
